#ifndef _STRAWGUI_TEXTURE_RENDER_TARGET_H_
#define _STRAWGUI_TEXTURE_RENDER_TARGET_H_

#include "sMath.h"
#include "sDrawSurface.h"
#include "sStretch.h"

namespace sgui
{
namespace engine
{

	class sRenderTarget : public sDrawSurface
	{
	public:
		virtual void draw(const math::sRectf& rect) const = 0;
		virtual void draw(const math::sRectf& rect, const res::sStretch& stretch) const;
		virtual void drawClip(const math::sRectf& rect, const math::sRectf& clipRect) const = 0;

		sRenderTarget(const math::sPointf& size) :
			sDrawSurface(size)
		{}
	};

};
};

#endif